package com.funfitnessapp;

import java.util.Date;

 class ProfilePerson {
                String firstName;
                String lastName;
                
                int weight;
                int idealWeight;
                int heightFeet;
                int heightInches;
                
                int numTrophies;
                //Trophy data type
                
                int milesRan;
                int numOfRuns;
                
                int bmi;
                
                Date creationDate;
                Date lastWeightCheck;
                Date lastExercised;
                
                public void setFirstName(String name) {
                        firstName = name;
                }
                
                public String getFirstName() {
                        return firstName;
                }
                
                public void setLastName(String name) {
                        lastName = name;
                }
                
                public String getLastName() {
                        return lastName;
                }
                
                public void setWeight(int newWeight) {
                        weight = newWeight;
                }
                
                public int getWeight() {
                        return weight;
                }

                public void setIdealWeight(int newWeight) {
                        idealWeight = newWeight;
                }
                
                public int getIdealWeight() {
                        return idealWeight;
                }

                public void setHeightFeet(int height) {
                        heightFeet = height;
                }
                
                public int getHeightFeet() {
                        return heightFeet;
                }

                public void setHeightInches(int height) {
                        heightInches = height;
                }
                
                public int getHeightInches() {
                        return heightInches;
                }
                
                void setNumTrophies(int num) {
                        numTrophies = num;
                }
                
                public int getNumTrophies() {
                        return numTrophies;
                }

                public void setMilesRan(int miles) {
                        milesRan = miles;
                }
                
                public int getMilesRan() {
                        return milesRan;
                }

                public void setNumOfRuns(int num) {
                        numOfRuns = num;
                }
                
                public int getNumOfRuns() {
                        return numOfRuns;
                }

                public void setBmi(int newBmi) {
                        bmi = newBmi;
                }
                
                public int getBmi() {
                        return bmi;
                }

                public void setCreationDate(Date theDate) {
                        creationDate = theDate;
                }
                
                public Date getCreationDate() {
                        return creationDate;
                }

                public void setLastWeightCheck(Date theDate) {
                        lastWeightCheck = theDate;
                }
                
                public Date getLastWeightCheck() {
                        return lastWeightCheck;
                }

                public void setLastExercised(Date theDate) {
                        lastExercised = theDate;
                }
                
                public Date getLastExercised() {
                        return lastExercised;
                }

                public void custToString() {
                        System.out.printf("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n", firstName, lastName, 
                                    weight, idealWeight, heightFeet, heightInches, numTrophies, 
                                    milesRan, numOfRuns, bmi);
                }
        }